package edu.zqu.collegeField.common.exception;

import lombok.Getter;
import lombok.Setter;

/**
 * @author 廖森
 * @Date 2020/6/28/004.
 */
@Setter
@Getter
public class MyException extends RuntimeException {
    private static final long serialVersionUID = 1L;

    private String msg;

    public MyException(String msg) {
        super(msg);
        this.msg = msg;
    }

    public MyException(String msg, Throwable e) {
        super(msg, e);
        this.msg = msg;
    }
}
